window: Don't get surfaces needlessly
authorMatthias Clasen <mclasen@redhat.com>
Sun, 27 Sep 2020 12:57:05 +0000 (08:57 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 29 Sep 2020 00:51:13 +0000 (20:51 -0400)
commit68bb5322904402cf5a4105f4f4c20c38032c3851
tree733e3df48823c58461e4e84fa4559ec2ff621b70
parentd2f0e3fa6b241a366fee376020c70021fc11ab8a
window: Don't get surfaces needlessly

There is a 1-1 correspondence between natives and
surfaces, so we can just compare the natives, no
need to get the surface for every single one.
gtk/gtkwindow.c